-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Development
: Remove lifecycle hooks in learning path related components
#9248
Development
: Remove lifecycle hooks in learning path related components
#9248
Conversation
WalkthroughThe changes involve a significant refactoring of several components in the Angular application, transitioning from traditional lifecycle hooks to utilizing the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
...urse/learning-paths/pages/learning-path-student-page/learning-path-student-page.component.ts
Show resolved
Hide resolved
Learning paths:
Remove lifecycle hooksLearning paths
: Remove lifecycle hooks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on TS1, still works as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on ts1, did not find issues, navigating from student view worked fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code
Learning paths
: Remove lifecycle hooksDevelopment
: Remove lifecycle hooks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code
Development
: Remove lifecycle hooksDevelopment
: Remove lifecycle hooks in learning path related components
Checklist
General
Client
Motivation and Context
When using signals, lifecycle hooks are not needed anymore.
Description
This PR removes the remaining lifecycle hooks of the learning path feature using signals and effects.
Steps for Testing
Prerequisites:
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.
Review Progress
Performance Review
Code Review
Manual Tests
Test Coverage
unchanged
Scweenshots
unchanged
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Tests